<template>
  <div class="themeIntroduce">
    <div class="themeIntroduceImg">
      <img v-if="datas.imgUrl" :src="datas.imgUrl" alt="" />
      <img v-else src="../../../assets/img/icon11.png" alt="">
    </div>
    <!-- 删除组件 -->
    <slot name="deles" />
  </div>
</template>
<script>
export default {
  name: "ThemeIntroduce",
  props: {
    datas: Object,
  },
};
</script>
<style lang="scss" scoped>
.themeIntroduce {
    position: relative;
  .themeIntroduceImg {
    width: 100%;
    height: 250px;
    img {
      width: 100%;
    }
  }
}
</style>
